// pages/index/card/weatherItem.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    weatherItemProps: Object
  },
  observers: {
    weatherItemProps: function(i) {
      this.setData({
        weather: i
      });
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    weather: {
      "fxDate": "2024-05-08",
      "sunrise": "05:07",
      "sunset": "19:16",
      "moonrise": "04:53",
      "moonset": "19:53",
      "moonPhase": "新月",
      "moonPhaseIcon": "800",
      "tempMax": "30",
      "tempMin": "16",
      "iconDay": "100",
      "textDay": "晴",
      "iconNight": "150",
      "textNight": "晴",
      "wind360Day": "247",
      "windDirDay": "西南风",
      "windScaleDay": "1-3",
      "windSpeedDay": "15",
      "wind360Night": "225",
      "windDirNight": "西南风",
      "windScaleNight": "1-3",
      "windSpeedNight": "16",
      "humidity": "31",
      "precip": "0.0",
      "pressure": "1006",
      "vis": "25",
      "cloud": "5",
      "uvIndex": "9"
  
    }
    },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})